module.exports = function(sequelize, DataTypes) {
  return sequelize.define('cosmeticsBrand', {
    cosmeticsId: {
      type: DataTypes.STRING,
      field: 'cosmetics_id',
      primaryKey: true,
      allowNull: false
    },
    zhName: {
      type: DataTypes.STRING,
      field: 'zh_name',
      allowNull: true
    },
    enName: {
      type: DataTypes.STRING,
      field: 'en_name',
      allowNull: true
    }
  },
  {
    tableName: 'cosmetics_brand'
  })
}
